package com.ruoyi.web.controller.mall.shopExpressMoney.service.impl;

import com.ruoyi.web.controller.mall.shopExpressMoney.domain.ShopExpressMoney;
import com.ruoyi.web.controller.mall.shopExpressMoney.mapper.ShopExpressMoneyMapper;
import com.ruoyi.web.controller.mall.shopExpressMoney.service.IShopExpressMoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * semService业务层处理
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
@Service
public class ShopExpressMoneyServiceImpl implements IShopExpressMoneyService 
{
    @Autowired
    private ShopExpressMoneyMapper shopExpressMoneyMapper;

    /**
     * 查询sem
     * 
     * @param id semID
     * @return sem
     */
    @Override
    public ShopExpressMoney selectShopExpressMoneyById(String id)
    {
        return shopExpressMoneyMapper.selectShopExpressMoneyById(id);
    }

    /**
     * 查询sem列表
     * 
     * @param shopExpressMoney sem
     * @return sem
     */
    @Override
    public List<ShopExpressMoney> selectShopExpressMoneyList(ShopExpressMoney shopExpressMoney)
    {
        return shopExpressMoneyMapper.selectShopExpressMoneyList(shopExpressMoney);
    }

    /**
     * 新增sem
     * 
     * @param shopExpressMoney sem
     * @return 结果
     */
    @Override
    public int insertShopExpressMoney(ShopExpressMoney shopExpressMoney)
    {
        return shopExpressMoneyMapper.insertShopExpressMoney(shopExpressMoney);
    }

    /**
     * 修改sem
     * 
     * @param shopExpressMoney sem
     * @return 结果
     */
    @Override
    public int updateShopExpressMoney(ShopExpressMoney shopExpressMoney)
    {
        return shopExpressMoneyMapper.updateShopExpressMoney(shopExpressMoney);
    }

    /**
     * 删除sem对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteShopExpressMoneyByIds(String[] ids)
    {
        return shopExpressMoneyMapper.deleteShopExpressMoneyByIds(ids);
    }

    /**
     * 删除sem信息
     * 
     * @param id semID
     * @return 结果
     */
    @Override
    public int deleteShopExpressMoneyById(String id)
    {
        return shopExpressMoneyMapper.deleteShopExpressMoneyById(id);
    }
}
